package cn.xshi.actuator.vo;

import cn.xshi.actuator.jvm.server.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;
/**
 * @Desc 物理机信息
 * @Author 邓纯杰
 * @CreateTime 2013-10-05 17:15:42
 */
@Data
@ApiModel(value="物理机信息对象", description="物理机信息对象")
public class SystemInfoDTO {

    @ApiModelProperty(value = "CPU")
    private CpuInfo cpuInfo;

    @ApiModelProperty(value = "内存")
    private MemInfo memInfo;

    @ApiModelProperty(value = "系统相关信息")
    private SysInfo sysInfo;

    @ApiModelProperty(value = "JVM相关信息")
    private JvmInfo jvmInfo;

    @ApiModelProperty(value = "系统文件相关信息")
    private List<SysFileInfo> sysFileInfos;

    /**
     * 构造函数
     */
    public SystemInfoDTO(){

    }

    /**
     * 构造函数
     * @param cpuInfo
     * @param memInfo
     * @param sysInfo
     * @param jvmInfo
     * @param sysFileInfos
     */
    public SystemInfoDTO(CpuInfo cpuInfo,MemInfo memInfo,SysInfo sysInfo,JvmInfo jvmInfo,List<SysFileInfo> sysFileInfos){
        this.cpuInfo =cpuInfo;
        this.memInfo = memInfo;
        this.sysInfo = sysInfo;
        this.jvmInfo = jvmInfo;
        this.sysFileInfos = sysFileInfos;
    }
}
